// ui/coach-ui/src/api/coach.js
import service from '@/utils/request.js'

// 教练信息管理API
const coachApi = {
    // 获取当前登录教练的信息
    getCurrentCoachInfo() {
        return service.get('/coach/info')
    },
    
    // 更新教练信息
    updateCoachInfo(data) {
        return service.put('/coach/update', data)
    },
    
    // 修改密码
    changePassword(data) {
        return service.put('/coach/changePassword', data)
    }
}

export default coachApi
